
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<div class="bjui-pageContent">
	<table class="table table-bordered table-hover table-striped table-top">
		<thead>
			<tr>
	 			 <td colspan="6" align="left" valign="bottom" class="pass_width_percent_50">
	 			 	<h5><strong>订单号：${userOrder.orderNum}</strong></h5>
	 			 </td>
	  		</tr>
			<tr>
				<td class="pass_width_ave_6_column">客户姓名:</td>
				<td class="pass_width_ave_6_column">订单名称:</td>
				<td class="pass_width_ave_6_column">订单总价格:</td>
				<td class="pass_width_ave_6_column">商品类型:</td>
				<td class="pass_width_ave_6_column">客户联系电话:</td>
				<td class="pass_width_ave_6_column">订单总金额:</td>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td class="pass_width_ave_6_column">${userOrder.orderUserName}</td>
				<td class="pass_width_ave_6_column">${userOrder.orderName}</td>
				<td class="pass_width_ave_6_column">${userOrder.orderTotalPrice}</td>
				<td class="pass_width_ave_6_column">${userOrder.goodsTypeName}</td>
				<td class="pass_width_ave_6_column">${userOrder.orderUserPhoneNum}</td>
				<td class="pass_width_ave_6_column">${userOrder.depositPrice}</td>
			</tr>
		</tbody>
		<thead>
			<tr>
				<td class="pass_width_ave_6_column">实际支付金额:</td>
				<td class="pass_width_ave_6_column">实际支付时间:</td>
				<td class="pass_width_ave_6_column">商户名称:</td>
				<td class="pass_width_ave_6_column">订单创建时间:</td>
				<td class="pass_width_ave_6_column">订单状态:</td>
				<td class="pass_width_ave_6_column">订单状态描述:</td>

			</tr>
		</thead>
		<tbody>
			<tr>
				<td class="pass_width_ave_6_column">${userOrder.actualPayDepositPrice}</td>
				<td class="pass_width_ave_6_column"><fmt:formatDate value="${userOrder.actualPayTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
				<td class="pass_width_ave_6_column">${userOrder.merchantName}</td>
				<td class="pass_width_ave_6_column"><fmt:formatDate value="${userOrder.createOrderTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
				<td class="pass_width_ave_6_column">${userOrder.orderStatusName}</td>
				<td class="pass_width_ave_6_column">${userOrder.orderStatuDescribe}</td>
			</tr>
		</tbody>
		<thead>
			<tr>
				<td class="pass_width_ave_6_column">航班类型:</td>
				<td class="pass_width_ave_6_column">成人数量:</td>
				<td class="pass_width_ave_6_column">儿童数量:</td>
				<td class="pass_width_ave_6_column">婴儿数量:</td>
				<td class="pass_width_ave_6_column">参团人数:</td>
			
			</tr>
		</thead>
		<tbody>
			<tr>
				<td class="pass_width_ave_6_column">${userOrder.flightTypeName}</td>
				<td class="pass_width_ave_6_column">${userOrder.babyNum}</td>
				<td class="pass_width_ave_6_column">${userOrder.joinGroupNum}</td>
				<td class="pass_width_ave_6_column">${userOrder.adultNum}</td>
				<td class="pass_width_ave_6_column">${userOrder.childrenNum}</td>
			</tr>
		</tbody>
	</table>
	<c:forEach items="${userOrder.orderDetailExtList}" var="orderdetails">	
	<div class="panel panel-default pass_margin_top_percent_2_ponit_5">
		<div class="panel-heading">
				<h4 class="panel-title">
					<a data-toggle="collapse" data-parent="#accordion" 
					   href="#collapseOne">
						=${orderdetails.passengerName}订单明细=
					</a>
				</h4>
		</div>
	<div id="collapseOne" class="panel-collapse collapse in"  >
		<div class="panel-body">
			<table class="table table-bordered table-hover table-striped table-top">
				<thead>
					<tr>
						<td class="pass_width_ave_6_column">订单号:</td>
						<td class="pass_width_ave_6_column">子订单状态</td>
						<td class="pass_width_ave_6_column">去程起飞航班信息:</td>
						<td class="pass_width_ave_6_column">去程降落航班信息:</td>
						<td class="pass_width_ave_6_column">去程航班号:</td>
						<td class="pass_width_ave_6_column">去程起飞时间:</td>
						<td class="pass_width_ave_6_column">去程降落时间:</td>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td class="pass_width_ave_6_column">${orderdetails.subOrderNum}</td>
						<td class="pass_width_ave_6_column">${orderdetails.orderSonStatusName}</td>
						<td class="pass_width_ave_6_column">${orderdetails.goUpFlightInfo}</td>
						<td class="pass_width_ave_6_column">${orderdetails.goDownFlightInfo}</td>
						<td class="pass_width_ave_6_column">${orderdetails.goFlightNum}</td>
						<td class="pass_width_ave_6_column"><fmt:formatDate value="${orderdetails.goTakeOffTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
						<td class="pass_width_ave_6_column"><fmt:formatDate value="${orderdetails.goLandTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
					</tr>
				</tbody>
				<thead>
					<tr>
						<td class="pass_width_ave_6_column">去程天数:</td>
						<td class="pass_width_ave_6_column">返程起飞航班信息:</td>
						<td class="pass_width_ave_6_column">返程降落航班信息:</td>
						<td class="pass_width_ave_6_column">返程航班号:</td>
						<td class="pass_width_ave_6_column">返程起飞时间:</td>
						<td class="pass_width_ave_6_column">返程降落时间:</td>
						<td class="pass_width_ave_6_column">返程天数:</td>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td class="pass_width_ave_6_column">${orderdetails.goTDays}</td>
						<td class="pass_width_ave_6_column">${orderdetails.returnUpFlightInfo}</td>
						<td class="pass_width_ave_6_column">${orderdetails.returnDownFlightInfo}</td>
						<td class="pass_width_ave_6_column">${orderdetails.returnFlightNum}</td>
						<td class="pass_width_ave_6_column"><fmt:formatDate value="${orderdetails.returnTakeOffTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
						<td class="pass_width_ave_6_column"><fmt:formatDate value="${orderdetails.returnLandTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
						<td class="pass_width_ave_6_column">${orderdetails.returnTDays}</td>
					</tr>
				</tbody>
				<thead>
					<tr>
						<td class="pass_width_ave_6_column">联系人名称:</td>
						<td class="pass_width_ave_6_column">电话:</td>
						<td class="pass_width_ave_6_column">性别:</td>
						<td class="pass_width_ave_6_column">类型:</td>
						<td class="pass_width_ave_6_column">证件类型:</td>
						<td class="pass_width_ave_6_column">证件号码:</td>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td class="pass_width_ave_6_column">${orderdetails.passengerName}</td>
						<td class="pass_width_ave_6_column">${orderdetails.passengerPhoneNum}</td>
						<td class="pass_width_ave_6_column">${orderdetails.sexName}</td>
						<td class="pass_width_ave_6_column">${orderdetails.contactTypeName}</td>
						<td class="pass_width_ave_6_column">${orderdetails.idTypeName}</td>
						<td class="pass_width_ave_6_column">${orderdetails.passengerUsedIdNum}</td>
					</tr>
				</tbody>
				<thead>
					<tr>
						<td class="pass_width_ave_6_column">尾款金额</td>
						<td class="pass_width_ave_6_column">尾款支付金额</td>
						<td class="pass_width_ave_6_column">尾款支付时间</td>
						<td class="pass_width_ave_6_column">票号</td>
						<td class="pass_width_ave_6_column">出票时间</td>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td class="pass_width_ave_6_column">${orderdetails.retainagePrice}</td>
						<td class="pass_width_ave_6_column">${orderdetails.retainagePayPrice}</td>
						<td class="pass_width_ave_6_column"><fmt:formatDate value="${orderdetails.retainagePayTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
						<td class="pass_width_ave_6_column">${orderdetails.ticketNum}</td>
						<td class="pass_width_ave_6_column"><fmt:formatDate value="${orderdetails.outTicketTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
</div>
		</c:forEach>
</div>
<div class="bjui-pageFooter">
	<ul>
		<li><button type="button" class="btn-close" data-icon="close">关闭</button></li>
<!-- 		<li><button type="submit" class="btn-default" data-icon="save">保存</button></li> -->
	</ul>
</div>